package com.ptszyxx.popose.module.base.splash.vm;

import android.app.Application;
import android.util.Log;

import androidx.annotation.NonNull;

import com.ptszyxx.popose.common.utils.YActivityUtil;
import com.ptszyxx.popose.common.utils.YWhiteIpUtil;
import com.ptszyxx.popose.module.base.splash.SplashActivity;
import com.ysg.http.BaseResponse;
import com.ysg.http.HttpUtils;
import com.ysg.http.callback.OnSuccessResult;
import com.ysg.http.data.CommonRepository;
import com.ysg.base.BaseViewModel;
import com.ysg.http.data.entity.ticket.TicketEntity;
import com.ysg.utils.YChannelUtil;
import com.ysg.utils.YSPUtils;
import com.ysg.utils.YStringUtil;

import org.json.JSONException;
import org.json.JSONObject;

import java.util.HashMap;
import java.util.Map;

public class SplashVM extends BaseViewModel<CommonRepository> {

    public SplashVM(@NonNull Application application, CommonRepository model) {
        super(application, model);
    }

    public UIChangeObservable uc = new UIChangeObservable();
    public class UIChangeObservable {
    }


    /**
     * 白名单ip
     */
    public void requestIsWhiteIp() {
        YWhiteIpUtil.getInstance().requestIsWhiteIp(this, model);
    }







}
